package com.guigu.health.dao;

import com.guigu.health.pojo.MemberTwo;
import com.guigu.health.pojo.SetMealOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName:MemberTwoMapper
 * @Description:持久类接口
 * @Author:longtao
 * @Date:2021/4/15
 * @Version:1.0
 */
public interface MemberTwoMapper {
    /**
     * 根据id查找会员,打印pdf表
     *
     * @param account
     * @return
     */
    public MemberTwo query(@Param("account") String account);

    /**
     * 根据id查询某个会员预约的套餐
     * @param id
     * @return
     */
    public List<SetMealOrder> queryAll(@Param("id") Integer id);
}
